<?php

$name = getInputArray("name", $params,'');
$validate = getInputArray("validate", $params,'');
$id = getInputArray("id", $params,str_replace(".","",str_replace(" ","",microtime())));
$value = getInputArray("value", $params,'');
$class = getInputArray("class", $params,'');
$title = getInputArray("title", $params,'');
$onclick = getInputArray("onclick", $params,'');
$class = getInputArray("class", $params,'');
 
?>
 
<?php
echo "<input type='submit' "; 
if ($name != "") echo " name='" . $name ."' ";
 
if ($id != "") echo " id='" . $id ."' ";


if ($class != "") echo " class='" . $class ."' ";

if ($title != "") echo " title='" . $title ."' ";

if($validate != ''){
	echo " onclick=\"$onclick;return validateSubmit('$validate');\"";
}
else{
	if ($onclick){
		echo " onclick=\"$onclick;\"";
	}
}

if ($class){
	echo " class='$class' ";	
}

if ($value != "") echo " value='" . $value ."' />";
?>